package com.link.base.base.accnt.service;

import com.link.base.base.accnt.model.Account;
import com.link.base.base.accnt.model.RegisterAudit;
import com.link.core.basic.service.BasicService;

/**
 * DMS注册审核-DMS注册审核 
 *
 * @author 黄正杨
 * @date 2019/03/19 18:39
 */
public interface RegisterAuditService extends BasicService<RegisterAudit> {

    /**
     * 增加一条待审批的注册信息
     *
     * @author 黄正杨
     * @date 2019/03/20
     * @param entity
     * @throws Exception
     */
    void addRegisterAudit(Account entity)throws Exception;

    /**
     * 同意注册
     *
     * @author 黄正杨
     * @date 2019/03/20
     * @param audit
     * @throws Exception
     */
    void agreeRegister(RegisterAudit audit)throws Exception;

    /**
     * 拒绝注册
     *
     * @author 黄正杨
     * @date 2019/03/20
     * @param audit
     * @throws Exception
     */
    void refuseRegister(RegisterAudit audit)throws Exception;
}
